﻿@model LoginModel

@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>
    Login
</h2>

@Html.ValidationSummary()

@using(Html.BeginForm("Login", "Home"))
{
    <div class = "editor-label">
        @Html.LabelFor(x => x.Username)
    </div>
    <div class = "editor-field">
        @Html.TextBoxFor(x => x.Username)
    </div>

    <div class = "editor-label">
        @Html.LabelFor(x => x.Password)
    </div>
    <div class = "editor-field">
        @Html.PasswordFor(x => x.Password)
    </div>
    
    <button type = "submit">Login</button>
}
